package com.tulele.vtool.mapper;

import com.tulele.vtool.model.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component(value = "headlineMapper")
public interface HeadlineMapper {

    String selectCarouselImgByGzhcode(String gzhCode);

    List<HeadlineTitleInfo> selectHeadlineTitleByGzhcode(String gzhCode);

    List<ArticleInfo> selectArticleInfoByHeadlineTitleId(Integer headlineTitleId);

    Integer isVideo(Integer headlineTitleId);

    List<ArticleInfo> selectVideoByHeadlineTitleId(Integer headlineTitleId);
}
